#pragma once

#include "Includes.h"
#include "Engine/RenderGlobals.h"
#include "IAInterface.h"

class CIAInterfaceDX9: public CIAInterfaceBase
{
private:
    std::vector< IDirect3DVertexBuffer9* > m_VertexBuffers;
    std::vector< mUInt >                   m_Strides;
    IDirect3DIndexBuffer9                 *m_pIndexBuffer;

public:
    CIAInterfaceDX9                       ( ); 
    ~CIAInterfaceDX9                      ( );

    virtual mUInt CreateVertexBuffer      ( mVoid *a_pBufData, mUInt a_uBufSize, mUInt a_uStride );
    virtual mBool CreateIndexBuffer       ( mVoid *a_pBufData, mUInt a_uBufSize, TVariableType a_IndexType );
    virtual mVoid IASetupBuffers          ( );
};